hysop.core.graph.graph_builder module

class hysop.core.graph.graph_builder.GraphBuilder(node)[source]

Bases: object

Helper class to build graph of computational operators (see ComputationalGraph).

Initialize a GraphBuilder with given target ComputationalGraph.

Parameters:

node (hysop.core.graph.ComputationalGraph) – target node that should generate its graph

Notes

The following class is a helper for ComputationalGraph graph building step. It should not be used outside of ComputationalGraph.

build_graph()[source]
build_subgraph(node, current_level, **kwds)[source]
configure(current_level, outputs_are_inputs, search_intertasks_ops, **kwds)[source]
new_node(op, subgraph, current_level, node, node_id, opvertex, insert_at=-1)[source]
new_topology_state(field)[source]
setup_graph()[source]
setup_variables()[source]
hysop.core.graph.graph_builder.gprint(*args, **kwds)[source]
hysop.core.graph.graph_builder.gprint2(*args, **kwds)[source]